package cn.com.code.reflect;

import java.lang.reflect.Field;

/**
 * @author zhengpei
 * @date 2022/5/4
 */
public class ReflectTest {

  public static void main(String[] args) throws NoSuchFieldException {
    Class clazz = Student.class;
    Field field = clazz.getField("name");
    System.out.println(field.getName());
  }

}
